const path = require('path');
const webpack = require('webpack');

module.exports = {
  entry: {
    bundle: [
      './js/src/index.js',
    ],
  },
  output: {
    path: path.resolve(__dirname, './dist'),
    filename: '[name].js',
    chunkFilename: 'chunk.[name].js',
    library: `[name]`,
    libraryTarget: 'umd',
    jsonpFunction: `webpackJsonp_iii`,
    publicPath: '/',
  }
};
